package my.hw;

public class GameStatus {
	private ChessColor currentColor;

	public ChessColor getCurrentColor() {
		return currentColor;
	}

	public void setCurrentColor(ChessColor currentColor) {
		this.currentColor = currentColor;
	}
	
	public void change(){
		if(currentColor==ChessColor.white){
			currentColor=ChessColor.black;
		}else /*if(currentColor==ChessColor.black)*/{
			currentColor=ChessColor.white;
		}
	}
	
	
}
